import time
import functools

def log(*args0, **kw0):
    def outer(func):
        @functools.wraps(func)
        def wrapper(*args, **kw):
            print(*args0, **kw0)
            return func(*args, **kw)
        return wrapper
    return outer


@log
def f():
    print('2018-12-20')

@log('exceute')
def f2():
    print(time.time())

f()
f2()
